using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;

public class SkillTipUI : MonoBehaviour
{
    [SerializeField] private TextMeshProUGUI skillName;
    [SerializeField] private TextMeshProUGUI skillText;
    public void ShowToolTipe(string skillName, string text)
    {
        this.skillName.text = skillName;
        skillText.text = text;
        gameObject.SetActive(true);
    }
    public void HideToolTip() => gameObject.SetActive(false);
    private void Start()
    {
        gameObject.SetActive(false);
    }
}
